PICTools Programmer's Reference
Get a Rectangle of Pixels from an Image

Clips out a rectangle of pixels from the input image and places them into the output. If the specified rectangle includes pixels beyond the bounds of the original image, pixels of the pad color will be used to fill in the extra area.

PegClipB  →  PegClipA

PegXClipB  →  PegXClipA

The uncompressed image to be processed must reside in the Get Queue prior to REQ_EXEC. Typically, the image will be fully contained in the Get Queue, but that is not a requirement. The output image will be placed into the Put Queue during REQ_EXEC.

Padding pixels present at the end of each line will be modified by this operation.

In addition to placing an output image into the Put Queue, this operation stores some output information into the PIC_PARM structure in the following locations.

 

 


©2022. Accusoft Corporation. All Rights Reserved.

Send Feedback